FROM java:8

MAINTAINER hh23485 (hh23485@126.com)

ADD target/weekly-post-server-0.0.1.jar /app.jar

ENV JAVA_OPTS=""

ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom  -jar /app.jar